# Copyright (c) 2014 by Michael Zahniser and Nate Graham
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

"phrase" "deep mystery cube pickup"
	"word"
		"指示どおり、あなたは"
		"あなたは"
	"word"
		"着陸地点の近くにある"
		"無標識で無人の倉庫にある"
	"word"
		"貸金庫"
		"保管ロッカー"
	"word"
		"を開け、謎の荷物を受け取ります。それは一辺二センチほどの小さな黒い立方体で、大きさの割に驚くほど重く、何の印もありません。"
	"word"
		"妙です。" "2"
		"奇妙です。" "2"
		"怪しい人影に見られているような気がしますが、気のせいかもしれません。"
		"誰かがあなたの人相を伝えているのが聞こえますが、どこからなのか、誰に話しているのかは分かりません。"
		"立ち去るとき、危険そうな人物と目が合います。見張られていた？　おそらく偶然でしょう。"

"phrase" "deep mystery cube dropoff payment"
	"word"
		"指示どおり、あなたは"
	"word"
		"謎の立方体を宇宙港から数キロ離れた道端に置いてきます。"
		"謎の立方体をぐらついた木製の塔の裏に置いてきます。"
		"宇宙港に着陸する前に、立方体を人里離れた場所に埋めます。"
		"惑星に降りて最初に見かけた物乞いの女性に立方体を手渡します。彼女は無言で受け取り、立ち去ります。"
		"立方体を倉庫に置いてきます。誰も回収に来ません。"
	"word"
		""
		"「合法なはずだ。そうでなければ求人掲示板に載せられないんだから」と自分に言い聞かせます。"
	"word"
		"すぐに銀行口座から、合意した報酬<payment>が入金されたとの通知が届きます。どうして分かったのでしょうか。"

"phrase" "deep mystery cube dropoff station payment"
	"word"
		"指示どおり、あなたは"
	"word"
		"謎の立方体を、二番目に見つけた備品棚に置いてきます。"
		"謎の立方体を、ネジの外れた通気口に置いてきます。"
		"ステーションで三組目に見かけた観光客のカップルに立方体を手渡します。彼らは無言で受け取ります。"
		"立方体を宇宙港の銅製のゴミ箱に落とします。"
		"立方体をランドリーシュートに落とします。"
	"word"
		""
		"「合法なはずだ。そうでなければ求人掲示板に載せられないんだから」と自分に言い聞かせます。"
	"word"
		"すぐに銀行口座から、合意した報酬<payment>が入金されたとの通知が届きます。どうして分かったのでしょうか。"

mission "Mystery Cube Delivery Job Safe [0]"
	job
	repeat
	name "謎の配達を<planet>へ"
	description "小包を<destination>に届けよ。報酬は <payment>。"
	source
		attributes "deep"
	destination
		distance 7 16
		government "Republic" "Free Worlds" "Syndicate" "Neutral" "Hai" "Quarg"
		not attributes "station"
	cargo "謎の包み" 1
	to offer
		random < 30
	on accept
		dialog phrase "deep mystery cube pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"mystery cube" ++
		payment 5000 1000
		dialog phrase "deep mystery cube dropoff payment"


mission "Mystery Cube Delivery Job Safe [1]"
	job
	repeat
	name "謎の配達を<planet>へ"
	description "小包を<destination>に届けよ。報酬は <payment>。"
	source
		attributes "deep"
	destination
		distance 9 20
		government "Republic" "Free Worlds" "Syndicate" "Neutral" "Hai" "Quarg"
		not attributes "station"
	cargo "謎の包み" 1
	to offer
		random < 15
	on accept
		dialog phrase "deep mystery cube pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"mystery cube" ++
		payment 5000 1000
		dialog phrase "deep mystery cube dropoff payment"

mission "Mystery Cube Delivery Job [0]"
	job
	repeat
	name "謎の配達を<planet>へ"
	description "小包を<destination>に届けよ。報酬は <payment>。"
	source
		attributes "deep"
	destination
		distance 7 16
		government "Republic" "Free Worlds" "Syndicate" "Neutral" "Hai" "Quarg"
		not attributes "station"
	cargo "謎の包み" 1
	to offer
		random < 45
		"combat rating" > 35
	on accept
		dialog phrase "deep mystery cube pickup"
	npc
		government "Bounty Hunter"
		personality nemesis disables waiting plunders
		system
			distance 6 9
		fleet "Bounty Hunters"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"reputation: Deep Security" += 2
		"mystery cube" ++
		payment 5000 1000
		dialog phrase "deep mystery cube dropoff payment"


mission "Mystery Cube Delivery Job [1]"
	job
	repeat
	name "謎の配達を<planet>へ"
	description "小包を<destination>に届けよ。報酬は <payment>。"
	source
		attributes "deep"
	destination
		distance 9 20
		government "Republic" "Free Worlds" "Syndicate" "Neutral" "Hai" "Quarg"
		not attributes "station"
	cargo "謎の包み" 1
	to offer
		random < 30
		"combat rating" > 35
	on accept
		dialog phrase "deep mystery cube pickup"
	npc
		government "Bounty Hunter"
		personality nemesis disables waiting plunders
		system
			distance 6 9
		fleet "Bounty Hunters"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"reputation: Deep Security" += 2
		"mystery cube" ++
		payment 5000 1000
		dialog phrase "deep mystery cube dropoff payment"


mission "Mystery Cube Delivery Job [2]"
	job
	repeat
	name "謎の配達を<planet>へ"
	description "小包を<destination>に届けよ。報酬は <payment>。"
	source
		attributes "deep"
	destination
		distance 9 20
		government "Republic" "Free Worlds" "Syndicate" "Neutral" "Hai" "Quarg"
		not attributes "station"
	cargo "謎の包み" 1
	to offer
		random < 30
		"combat rating" > 35
	on accept
		dialog phrase "deep mystery cube pickup"
	npc
		government "Bounty Hunter"
		personality nemesis disables waiting plunders
		system
			distance 6 9
		fleet "Bounty Hunters"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"reputation: Deep Security" += 2
		"mystery cube" ++
		payment 5000 1000
		dialog phrase "deep mystery cube dropoff payment"


mission "Mystery Cube Delivery Job [3]"
	job
	repeat
	name "謎の配達を<planet>へ"
	description "小包を<destination>に届けよ。報酬は <payment>。"
	source
		attributes "deep"
	destination
		distance 9 20
		government "Republic" "Free Worlds" "Syndicate" "Neutral" "Hai" "Quarg"
		not attributes "station"
	cargo "謎の包み" 1
	to offer
		random < 30
		"combat rating" > 35
	on accept
		dialog phrase "deep mystery cube pickup"
	npc
		government "Bounty Hunter"
		personality nemesis disables waiting plunders
		system
			distance 6 9
		fleet "Bounty Hunters"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"reputation: Deep Security" += 2
		"mystery cube" ++
		payment 5000 1000
		dialog phrase "deep mystery cube dropoff payment"


mission "Mystery Cube Delivery Job Station"
	job
	repeat
	name "謎の配達を<planet>へ"
	description "小包を<destination>に届けよ。報酬は <payment>。"
	source
		attributes "deep"
	destination
		distance 9 20
		government "Republic" "Free Worlds" "Syndicate" "Neutral" "Hai" "Quarg"
		attributes "station"
	cargo "謎の包み" 1
	to offer
		random < 10
		"combat rating" > 35
	on accept
		dialog phrase "deep mystery cube pickup"
	npc
		government "Bounty Hunter"
		personality nemesis disables waiting plunders
		system
			distance 6 9
		fleet "Bounty Hunters"
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		"reputation: Deep Security" += 2
		"mystery cube" ++
		payment 5000 1000
		dialog phrase "deep mystery cube dropoff station payment"


mission "Mystery Cube Retrieval Job"
	job
	repeat
	name "<planet stopovers>からの謎の回収"
	description "包みを<stopovers>で回収してから<destination>へ戻れ。報酬は <payment>。"
	source
		attributes "deep"
	stopover
		distance 9 20
		government "Republic" "Free Worlds" "Syndicate" "Neutral" "Hai" "Quarg"
		attributes "spaceport"
		not attributes "station"
	cargo "謎の包み" 1
	to offer
		random < 30
		"combat rating" > 35
	npc
		government "Bounty Hunter"
		personality nemesis disables waiting plunders
		system
			distance 10 17
		fleet "Bounty Hunters"
	on stopover
		dialog phrase "deep mystery cube pickup"
	on visit
		dialog phrase "generic missing stopover or cargo"
	on complete
		"reputation: Deep Security" += 2
		"mystery cube" ++
		payment 5000 1000
		dialog phrase "deep mystery cube dropoff payment"


mission "Transport scientists"
	name "科学者の輸送"
	job
	repeat
	description "<bunks> 人の科学者チームは研究記録を<stopovers>にある施設で解析する必要があった。科学者たちをそこへ連れていき、それから<planet>へ連れ帰れ。報酬は <payment>になる。"
	source
		attributes "deep"
	stopover
		attributes "education" "research"
		not attributes "uninhabited"
		distance 2 50
	passengers 3 4 .43
	to offer
		random < 15
	on stopover
		dialog "科学者たちは研究結果のことをめまいがするほど議論しつづけた。旅のあいだじゅうずっとだ。そして科学者たちは結果の解析のために有名な研究所へといそいででかけ、あなたはつかのまの平穏と静寂を楽しむ。それから<planet>へと戻る旅の準備をした。"
	on visit
		dialog phrase "generic missing stopover or passengers"
	on complete
		dialog "あなたは科学者たちに別れを告げ、<payment>の報酬を受けとった。"
		payment
		payment 30000


mission "Transport science department"
	name "科学部門の輸送"
	job
	repeat
	description "<bunks>人の科学者からなる学部が、<stopovers>の施設で研究ノートの分析を必要としています。科学者たちをそこへ連れて行き、その後<planet>へ送り返してください。報酬は<payment>です。"
	source
		attributes "deep"
	stopover
		attributes "education" "research"
		not attributes "uninhabited"
		distance 2 50
	passengers 20 4 .1
	to offer
		random < "passenger space" - 30
	on stopover
		dialog "科学者たちは航海中ずっと、各チームの研究成果を嬉しそうに披露しあっては議論していました。彼らが分析のために名高い研究所へ向かっていくと、ようやく静かになってほっと一息。<planet>への帰路の準備にかかります。"
	on visit
		dialog phrase "generic missing stopover or passengers"
	on complete
		dialog "あなたは科学者たちに別れを告げ、<payment>の報酬を受けとった。"
		payment 180000 100


mission "Escort science vessel"
	name "科学船の護衛"
	job
	repeat
	description "科学船 「<npc>」 の乗員が<stopovers>への護衛を求めている。科学者たちはそこである異常現象の研究を計画しているのだ。そこへ護衛したあとに<planet>まで連れ帰れ。報酬は <payment>になる。"
	source
		attributes "research"
	stopover
		attributes "education" "quarg" "pirate" "volcanic" "frontier" "dirt belt" "north" "south"
		distance 6 50
	to offer
		random < 15
		"combat rating" > 50
	npc
		government "Pirate"
		personality nemesis waiting plunders
		system
			distance 2 3
		fleet "pirate raid"
	
	npc accompany save
		government "Merchant"
		personality escort timid
		fleet
			names "deep science vessel"
			variant
				"Scout"
			variant
				"Bounder"
			variant
				"Star Queen"
	on stopover
		dialog "「<npc>」 はあなたの隣に着陸し、ぱりぱりの白衣に重そうなブーツと手袋を身につけた科学者チームがあらゆる種類の風変わりな装置を持って実験場に襲いかかった。科学者が測定をしているあいだにあなたは<planet>へ帰る旅の準備をする。"
	on visit
		dialog "あなたは<planet>に到着した。しかしこの仕事は 「<npc>」 があなたとともに<stopovers>を訪れて、ここであなたと合流するまで終わらない。"
	on complete
		dialog "あなたは 「<npc>」 の船長に別れを告げて、報酬の <payment>を受けとった。"
		payment
		payment 60000

"phrase" "academic conference recording payment"
	"word"
		"<planet>に着陸し、壮大な大学の会議場へ向かいます。渡された資格証で入場でき、部屋の後方に録画機材を設置します。"
	"word"
		"パネリストたちは刺激的で、科学と人文学の最先端の話題について雄弁に語ります。この体験で、星々の中での人類の未来に驚くほど楽観的な気持ちになります。"
	"word"
		"<origin>の連絡先に動画を送信し、報酬<payment>を受け取ります。"

mission "Record academic conference"
	name "学会の記録"
	job
	repeat
	description "<destination>でおこなわれる学会の記録を出席できない教授たちのために作成せよ。信任状と記録装置は用意される。報酬は <payment>になる。"
	source
		attributes "deep"
	destination
		attributes "education" "research" "quarg" "wealthy" "paradise"
		distance 4 10
	cargo "記録装置" 1
	to offer
		random < 15
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		dialog phrase "academic conference recording payment"
		payment 5000 1000


"phrase" "secure package pickup"
	"word"
		"指示どおり、あなたは"
		"あなたは"
	"word"
		"宇宙港の静かな一角にある"
		"着陸地点の近くにある"
	"word"
		"警備付き手荷物カウンターで荷物を受け取ります。"
		"警備デスクで荷物を受領します。"
	"word"
		"それは内蔵の警備付き反重力台車に載った大きな箱です。"
		"それは複雑な電子式ダイヤル錠のついた小さな箱です。"
		"それは柔らかいがきつく包装された荷物で、握ると不気味な音がします。"

"phrase" "secure package dropoff payment"
	"word"
		"指示どおり、荷物を"
	"word"
		"テクノロジー企業の受付カウンター"
		"退屈そうな宇宙港の警備員"
		"凝った骨董品店"
		"最低限の身分確認だけで受け取る私服の警官"
		"ベンチで待っている老婦人"
		"ドックで待っている別の船長"
	"word"
		"に届けます。"
	"word"
		"すぐに銀行口座から、合意した報酬<payment>が入金されたとの通知が届きます。"


mission "Secure Transport Job (Secret) [0]"
	job
	repeat
	name "機密配達を<planet>へ"
	description "警備付きの補給品の荷物を<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	cargo "機密荷物" 1
	to offer
		random < 25
		not "deep security reveal"
		"reputation: Deep Security" >= 0
		"reputation: Deep Security" >= "secure deep package" * -3
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 3
	on complete
		payment 3000 750
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"

mission "Secure Transport Job (Secret) [1]"
	job
	repeat
	name "機密配達を<planet>へ"
	description "警備付きの補給品の荷物を<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	cargo "機密荷物" 1
	to offer
		random < 20
		not "deep security reveal"
		"reputation: Deep Security" >= 0
		"reputation: Deep Security" >= "secure deep package" * -3
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 3
	on complete
		payment 3000 750
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"

mission "Secure Transport Job (Secret) [2]"
	job
	repeat
	name "機密配達を<planet>へ"
	description "警備付きの補給品の荷物を<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	cargo "機密荷物" 1
	to offer
		random < 20
		not "deep security reveal"
		"reputation: Deep Security" >= 0
		"reputation: Deep Security" >= "secure deep package" * -3
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 3
	on complete
		payment 3000 750
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"

mission "Secure Transport Job (Secret) [3]"
	job
	repeat
	name "機密配達を<planet>へ"
	description "警備付きの補給品の荷物を<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	cargo "機密荷物" 1
	to offer
		random < 20
		not "deep security reveal"
		"reputation: Deep Security" >= 0
		"reputation: Deep Security" >= "secure deep package" * -3
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 3
	on complete
		payment 3000 750
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"

mission "Secure Transport Job (Secret) [4]"
	job
	repeat
	name "機密配達を<planet>へ"
	description "警備付きの補給品の荷物を<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	cargo "機密荷物" 1
	to offer
		random < 20
		not "deep security reveal"
		"reputation: Deep Security" >= 0
		"reputation: Deep Security" >= "secure deep package" * -3
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 3
	on complete
		payment 3000 750
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"


mission "Deep Security Package Reveal"
	minor
	invisible
	source
		attributes "deep"
		not attributes "station"
	to offer
		"reputation: Deep Security" >= 40
		"secure deep package" >= 20
		"mystery cube" >= 5
		not "deep security reveal"
		or
			not "chosen sides"
			has "main plot completed"
	on offer
		log "一般人" "ウェイド捜査官" "ディープ・セキュリティ物流部門の若手エージェント。あなたに助けられた縁で、より多くの仕事を回してもらえるよう口添えしてくれた。"
		conversation
			"宇宙港の屋台から立ち去ろうとしたとき、スポーツウェア姿のかなり若い男が、大通りの脇にあるベンチへ来るよう手を振ってきます。"
			choice
				"	（彼のところへ行く。）"
					goto bench
				"	（歩き続ける。）"
			"	無視しようとすると、彼は短く鋭い口笛を吹き、ディープ・セキュリティのバッジを一瞬だけ見せます。周囲の目を気にしてすぐに親しげな手振りでごまかしますが、無視させるつもりがないのは明らかです。"
			label bench
			"	ベンチに近づくと、彼は言います。「こんにちは、船長。どうぞ座って、少しお時間をいただけますか」"
			"	その物腰はひどく型どおりですが、彼はこの頼みにかなり真剣で、確信を持っているようです。"
			choice
				"	「いいですよ。あなたは誰です？」"
					goto who
				"	「すみませんが、今は忙しいんです」"
			"	「はっきり言えば、お礼を言いに来たんです。それで気が変わるなら」と彼は言います。"
			choice
				"	「へえ。何のことです？」（座る。）"
				"	「悪いけど、また今度で」"
					decline
			label who
			"	あなたが座ると、男は微笑みかけてから、通行人の方へ注意を戻して話します。「私の名前はウェイド。エージェント・ウェイドとでも。肩書きは気にしないでください、私は……まあ、ディープ・セキュリティの物流部門で働いています。最近あなたは大量の警備付き荷物を輸送しましたが、そのうちのいくつかは私のものでした」"
			choice
				"	「金になるなら、それでいい」"
					goto "blind acceptance"
				"	「ああ、そうですか」"
					goto "blind acceptance"
				"	「警備付き荷物は全部ディープ・セキュリティのものなのか？」"
			"	「いいえ、多くのテクノロジー企業や富裕層が同じ警備付き輸送経路を使っています。ただ、我々の経路が何か軽率な……あるいは違法なものによって損なわれないよう、すべてを監視してはいますが」彼は肩をすくめ、値踏みするような目であなたを見ます。"
			label "blind acceptance"
			"	「さて、あなたの記録を見ましたが、ディープのためにかなり尽くしてくれたようですし、評判もいい。我々は緊急性か秘密性のある配達が必要なときに頼れるパイロットのリストを持っていまして、あなたは条件を満たしたようです。少なくとも身元調査は通りました。"
			"	「ともかく、そのリストに加わる一回限りのオファーを出す権限を私は持っています。ご心配なく、今すぐ何かを頼むわけではありません」"
			"	彼は一瞬通行人の監視をやめ、あなたをまっすぐ見ます。「それで、興味はありますか？」"
			choice
				"	「協力しよう」"
					goto agree
				"	「悪いが、そこまで深く関わりたくはない」"
					decline
				"	「『ともかく』を二回言ったな」"
			"	彼の表情がわずかに引きつりますが、笑って続けます。「ええと、よく気づきましたね。でも質問は変わりません」"
			choice
				"	「協力しよう」"
					goto agree
				"	「悪いが、そこまで深く関わりたくはない」"
					decline
			label agree
			"	「結構」と彼は言い、まるで気さくな会話を終えるかのように立ち上がって伸びをします。そして笑顔で振り返ります。「オフィスに戻り次第、リストに追加しますね。あなたのIDで、どの荷物が我々のものかも分かるようになります。ああ、それから改めて、ありがとう！」"
			"action"
				set "deep security reveal"
			"	エージェント・ウェイドはあなたに向かってさりげなく敬礼するような、あるいは見えない帽子を軽く持ち上げるような仕草をします。「ごきげんよう、船長。今後ご一緒できるのを楽しみにしています」"
			"	彼は素早く髪を目からかき上げ、駆け足で去っていきます。角を曲がって姿を消す直前に、最後にもう一度手を振ってきました。"
				decline


mission "Secure Transport Job (Basic) [0]"
	job
	repeat
	name "機密配達を<planet>へ"
	description "警備付きの補給品の荷物を<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	cargo "機密荷物" 1
	to offer
		random < 50
		has "deep security reveal"
		"reputation: Deep Security" >= 0
		"reputation: Deep Security" >= "secure deep package" * -3
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 3
	on complete
		payment 3000 750
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"

mission "Secure Transport Job (Basic) [1]"
	job
	repeat
	name "機密配達を<planet>へ"
	description "警備付きの補給品の荷物を<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	cargo "機密荷物" 1
	to offer
		random < 50
		has "deep security reveal"
		"reputation: Deep Security" >= 0
		"reputation: Deep Security" >= "secure deep package" * -3
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 3
	on complete
		payment 3000 750
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"

mission "Secure Transport Job (Deep Security) [0]"
	job
	repeat
	name "深部保安隊の配達を<planet>へ"
	description "ディープ・セキュリティの荷物を<destination>へ届けてください。報酬は<payment>です。"
	cargo "深部保安隊の荷物" 1
	to offer
		random < 20
		has "deep security reveal"
		"reputation: Deep Security" >= 40
		"secure deep package" >= 20
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 5
	on complete
		payment 5000 1000
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"

mission "Secure Transport Job (Deep Security) [1]"
	job
	repeat
	name "深部保安隊の配達を<planet>へ"
	description "ディープ・セキュリティの荷物を<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	cargo "深部保安隊の荷物" 1
	to offer
		random < 20
		has "deep security reveal"
		"reputation: Deep Security" >= 40
		"secure deep package" >= 20
	on accept
		dialog phrase "secure package pickup"
	on visit
		dialog phrase "generic cargo on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 5
	on complete
		payment 5000 1000
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"


mission "Deep Consultants"
	minor
	name "顧問を<planet>へ輸送"
	description "ジュリーと助手は輸送便に乗り遅れ、いくつかの重要な商談に出席するため<date>までに<destination>へ到着する必要があります。"
	source
		attributes "deep"
		attributes "urban"
		not attributes "station" "moon"
		not planet "Valhalla"
	destination "Valhalla"
	deadline 2 1
	passengers 2
	to offer
		"reputation: Deep Security" >= 60
		"secure deep package" >= 30
		has "deep security reveal"
		or
			not "chosen sides"
			has "main plot completed"
	on offer
		conversation
			"宇宙港を歩いていると、突然、息を切らした若い女性に呼び止められます。「お願いです、船長」彼女は喘ぎながら言います。「捕まえられてよかった」"
			"	深く息を吸い込むと、彼女は背筋を伸ばし、少し離れたところにいる誰かを指さします。「船長、申し訳ないのですが、同僚のジュリーと私は緊急の輸送をどうしても必要としているんです。助けていただけますか？」"
			"	彼女がさらに息を整えているうちに、年上の同僚が荷物を引きずりながら急いでやってきます。"
			choice
				"	「もちろん、喜んで手伝うよ」"
					goto sure
				"	「どこへ行きたいんだ？」"
				"	「なぜそんなに急ぐんだ？」"
				"	「あなたたちは誰だ？」"
			"	ジュリーが挨拶の手を差し出します。「失礼しました、きちんとご挨拶を。私はジュリー・ギラーです。助手と私は仕事に引き留められて、予約していた便を逃してしまいました。いくつかの重要な商談のためにバルハラへ行く必要があるのですが、残念ながらこの先五日間は全便満席で、それでは雇い主が納得しないんです」"
			choice
				"	「もちろん、喜んで手伝うよ」"
					goto sure
				"	「雇い主は誰だ？」"
			"	ジュリーは周囲の人々をこっそりうかがいます。「実は雇い主は何人かいるのですが、今のところは、間接的にディープ・セキュリティです」"
			"	彼女は少し身を寄せ、声を落とします。「私たちは緊急時に頼れる信頼できるパイロットのリストにアクセスできます。報酬は十分にお支払いしますよ」"
			choice
				"	「もちろん、喜んで手伝うよ」"
					goto sure
				"	「申し訳ないが、今は本当に手伝えない」"
					decline
			label sure
			"	「では案内してください」とジュリーは言います。あなたが船を指さすと、女性たちは乗り込みに向かいます。"
				accept
	on complete
		log "一般人" "ジュリー・ギラー" "ディープ・セキュリティと仕事をしていたコンサルタント。あなたに緊急の輸送を頼んできた際、今後もコンサルタントの依頼を受けられるよう設定を教えてくれた。"
		payment 350000
		set "deep security consultants"
		conversation
			"ジュリーと助手は航海中ずっと模範的な乗客でした。下船の準備をしながら、彼女はあなたの助力に感謝します。<payment>を口座に振り込むのに加えて、地元の宇宙港の斡旋業者での求人掲示板の設定を変更し、ディープ・セキュリティと仕事をするビジネス客に対応できるようにしてくれました。"
			"	「ありがとう、<last>船長。本当に助かりました。ただ、この辺りの宇宙港では気をつけて見ていてください。ディープ・セキュリティは予約より長く私たちを引き留めることで悪名高いんです。立ち往生して、急いで惑星を離れる必要のある人がよくいますから」"


"phrase" "stranded consultant pickup"
	"word"
		"宿泊の依頼に従い、あなたは"
		"急な連絡にもかかわらず、あなたは"
	"word"
		"宇宙港の静かな一角"
		"街の反対側"
		"港のすぐ外の騒がしい地区"
	"word"
		"にある"
	"word"
		"ホテルで<passengers>と落ち合い"
		"警備詰所で<passengers>を引き取り"
		"いかがわしい酒場から<passengers>を引っ張り出し"
		"押しつけがましい連れから<passengers>を救い出し"
	"word"
		"、船まで付き添います。"

"phrase" "stranded consultant dropoff payment"
	"word"
		"コンサルタントたちは目的地に届けたあなたに感謝します。"
	"word"
		"後になって、彼らが船室の一つに汚れたブーツを置き忘れていったことに気づきます。"
		"後になって、船のドアの取っ手にネクタイが掛けっぱなしになっているのを見つけます。"
		"後になって、船内にくしゃくしゃの書類が残されているのを見つけ、賢明にも中を見ずに船の焼却炉へ放り込みます。"
	"word"
		"まもなく銀行口座から、合意した報酬<payment>が入金されたとの通知が届きます。"


mission "Transport Consultants (Deep Security) [0]"
	job
	repeat
	name "深部保安隊顧問の輸送"
	description "ディープ・セキュリティのせいで予定が台無しになった<fare>を<destination>へ輸送してください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		attributes "urban"
		not attributes "station"
	passengers 1 8
	to offer
		random < 20
		has "deep security consultants"
		"reputation: Deep Security" >= 60
		"secure deep package" >= 30
	on accept
		dialog phrase "stranded consultant pickup"
	on visit
		dialog phrase "generic passenger on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 7
	on complete
		payment 10000 300
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "stranded consultant dropoff payment"

mission "Transport Consultants (Deep Security) [1]"
	job
	repeat
	name "深部保安隊顧問の輸送"
	description "ディープ・セキュリティのせいで予定が台無しになった<fare>を<destination>へ輸送してください。報酬は<payment>です。"
	source
		attributes "deep"
		not attributes "station"
	destination
		distance 2 7
		attributes "deep"
		attributes "urban"
		not attributes "station"
	passengers 1 8
	to offer
		random < 20
		has "deep security consultants"
		"reputation: Deep Security" >= 60
		"secure deep package" >= 30
	on accept
		dialog phrase "stranded consultant pickup"
	on visit
		dialog phrase "generic passenger on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 7
	on complete
		payment 10000 300
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "stranded consultant dropoff payment"


mission "Urgent Deep Sec Package"
	minor
	repeat
	name "深部保安隊の速達"
	description "ディープ・セキュリティの荷物を<date>までに<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
	destination
		distance 6 7
		attributes "deep"
		not planet "Valhalla"
		not attributes "station"
	deadline 1 1
	cargo "深部保安隊の荷物" 1
	to offer
		random < 3
		has "deep security reveal"
		"reputation: Deep Security" >= 40
		"secure deep package" >= 20
	on offer
		dialog "宇宙港を歩いていると、男が近づいてきてディープ・セキュリティのIDを一瞬見せます。「こんにちは、<last>船長。これを<date>までに<destination>へ、可能な限り直行で届けてくれる人を探しています」"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 7
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 30000 1000
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "secure package dropoff payment"

mission "Urgent Deep Sec Consultants [0]"
	minor
	repeat
	name "深部保安隊顧問の急送"
	description "<bunks>人のディープ・セキュリティのコンサルタントを<date>までに<destination>へ届けてください。報酬は<payment>です。"
	source
		attributes "deep"
	destination
		distance 6 7
		attributes "deep"
		attributes "urban"
		not attributes "station"
	deadline 1 1
	passengers 2 6
	to offer
		random < 1
		has "deep security consultants"
		"reputation: Deep Security" >= 60
		"secure deep package" >= 30
	on offer
		dialog "宇宙港を歩いていると、疲れ切った様子の男が近づいてきて、自分を含む<bunks>人のディープ・セキュリティのコンサルタントが<date>までに<destination>へ緊急に輸送される必要があり、寄り道している時間はないと告げます。"
	on visit
		dialog phrase "generic passenger on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 9
	on complete
		payment 60000 300
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "stranded consultant dropoff payment"

mission "Urgent Deep Sec Consultants [1]"
	repeat
	minor
	name "深部保安隊顧問の急送"
	description "<bunks>人のディープ・セキュリティのコンサルタントを<date>までに<destination>へ届けてください。報酬は<payment>です。"
	source
		near "Epsilon Leonis" 3 4
		attributes "deep"
		not attributes "station"
	destination "Valhalla"
	deadline 1 1
	passengers 2 6
	to offer
		random < 3
		has "deep security consultants"
		"reputation: Deep Security" >= 60
		"secure deep package" >= 30
	on offer
		dialog "宇宙港を歩いていると、疲れ切った様子の男が近づいてきて、自分を含む<bunks>人のディープ・セキュリティのコンサルタントが<date>までに<destination>へ緊急に輸送される必要があり、寄り道している時間はないと告げます。"
	on visit
		dialog phrase "generic passenger on visit"
	on abort
		# No penalty for aborting.
	on fail
		"secure deep package" -= 9
	on complete
		payment 60000 300
		"reputation: Deep Security" += 1
		"secure deep package" ++
		dialog phrase "stranded consultant dropoff payment"


mission "Lionheart Shipment [0]"
	name "積み荷を<planet>へ"
	description "<cargo>を、先進的で実験的な設計で知られるライオンハート・インダストリーズの本拠地<destination>へ届けてください。報酬は<payment>です。"
	cargo "武器" 5 2 .1
	job
	repeat
	to offer
		random < 10
		has "landing access: Valhalla"
	source
		near "Epsilon Leonis" 2 10
		attributes factory
	destination Valhalla
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 0 160
		dialog phrase "generic cargo delivery payment"

mission "Lionheart Shipment [1]"
	name "積み荷を<planet>へ"
	description "<cargo>を、先進的で実験的な設計で知られるライオンハート・インダストリーズの本拠地<destination>へ届けてください。報酬は<payment>です。"
	cargo "船体合金" 5 2 .1
	job
	repeat
	to offer
		random < 10
		has "landing access: Valhalla"
	source
		near "Epsilon Leonis" 2 10
		attributes factory research
	destination Valhalla
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 0 160
		dialog phrase "generic cargo delivery payment"

mission "Lionheart Shipment [2]"
	name "積み荷を<planet>へ"
	description "<cargo>を、先進的で実験的な設計で知られるライオンハート・インダストリーズの本拠地<destination>へ届けてください。報酬は<payment>です。"
	cargo "船舶システム" 5 2 .1
	job
	repeat
	to offer
		random < 10
		has "landing access: Valhalla"
	source
		near "Epsilon Leonis" 2 10
		attributes factory mining
	destination Valhalla
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 0 160
		dialog phrase "generic cargo delivery payment"

mission "Deep Sky Shipment [0]"
	name "積み荷を<planet>へ"
	description "<cargo>を、最先端のサイバネティクス、兵器、宇宙船装備のメーカーであるディープ・スカイの本拠地<destination>へ届けてください。報酬は<payment>です。"
	cargo Metal 5 2 .1
	job
	repeat
	to offer
		random < 10
		has "landing access: Asgard"
	source
		near Naos 2 15
		attributes factory
	destination Asgard
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 0 160
		dialog phrase "generic cargo delivery payment"

mission "Deep Sky Shipment [1]"
	name "積み荷を<planet>へ"
	description "<cargo>を、最先端のサイバネティクス、兵器、宇宙船装備のメーカーであるディープ・スカイの本拠地<destination>へ届けてください。報酬は<payment>です。"
	cargo Electronics 5 2 .1
	job
	repeat
	to offer
		random < 10
		has "landing access: Asgard"
	source
		near Naos 2 15
		attributes factory research
	destination Asgard
	on visit
		dialog phrase "generic cargo on visit"
	on complete
		payment 0 160
		dialog phrase "generic cargo delivery payment"

mission "Deep Hovercraft Racer Transport"
	name "レーサーを<planet>へ輸送"
	description "パイロットとそのホバークラフトを、<date>までにレースに出場するため<destination>へ届けてください。"
	passengers 1
	cargo "深部製ホバークラフト" 1
	job
	repeat
	deadline
	deadline 8
	to offer
		random < 6
		has "landing access: Sunracer"
	source
		attributes "deep"
	destination Sunracer
	on visit
		dialog phrase "generic cargo and passenger on visit"
	on complete
		payment
		payment 11000
		dialog "パイロットとホバークラフトを降ろし、報酬<payment>を受け取ります。"

mission "Deep Hovercraft Large Racer Transport"
	name "チームを<planet>へ輸送"
	description "この<passengers>名のレーシングチームと<cargo>一式を、<date>までにレースに出場するため<destination>へ届けてください。"
	passengers 50 100 .9
	cargo "深部製ホバークラフト" 50
	job
	repeat
	deadline
	deadline 8
	to offer
		random < 1
		has "landing access: Sunracer"
	source
		attributes "deep"
	destination Sunracer
	on visit
		dialog phrase "generic cargo and passenger on visit"
	on complete
		payment
		payment 23000
		dialog "レーシングチームとホバークラフトを降ろし、報酬<payment>を受け取ります。"
